import http from "@/utils/http";

/** 获取商品详情 */
export function getGoodDetail(id) {
  return http({
    url: '/goods',
    data: { id }
  })
}

/** 获取商品推荐 */
export function getGoodRelevant(id) {
  return http({
    url: '/goods/relevant',
    data: { id }
  })
}